From: Eli Zaretskii Date: Sat, 12 May 2001 10:52:38 +0000 (+0000) Subject: (malloc, realloc, free) [emacs]: Undefine before X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40333 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8061d40e330d992531578633a2c75c07b9b6116c;p=emacs.git (malloc, realloc, free) [emacs]: Undefine before redefining, to avoid compiler warnings. --- diff --git a/src/regex.c b/src/regex.c index b3d0658c7dc..9fe099c7125 100644 --- a/src/regex.c +++ b/src/regex.c @@ -124,8 +124,17 @@ # include "charset.h" # include "category.h" +# ifdef malloc +# undef malloc +# endif # define malloc xmalloc +# ifdef realloc +# undef realloc +# endif # define realloc xrealloc +# ifdef free +# undef free +# endif # define free xfree /* Converts the pointer to the char to BEG-based offset from the start. */